//
//  CourseViewController.h
//  jungoo
//
//  Created by Dang Quang Trung on 8/7/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseViewController.h"
#import "AutocompleteView.h"

enum
{
    CourseModeUpdate,
    CourseModeNew
};

typedef NSInteger CourseMode;

@interface CourseViewController : BaseViewController <UITableViewDelegate, UITableViewDelegate,
                                                      UITextFieldDelegate, AutocompleteViewDelegate>
{
    NSArray *dataSource;
    NSMutableArray *autoDataSource;
    AutocompleteView *autocompleteView;
}

@property (nonatomic,retain) IBOutlet UITextField *txtField;
@property (nonatomic,retain) IBOutlet UISegmentedControl *segment;
@property (assign) CourseMode courseMode;

@end
